package com.njtoyo.taxi.admin.service.business.ride;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.rest.presenter.business.ride.marking.RideMarkingDetailsPresenter;
import com.njtoyo.taxi.admin.rest.presenter.business.ride.marking.RideMarkingPagePresenter;
import com.njtoyo.taxi.admin.rest.presenter.business.ride.marking.TagListDataPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.ride.marking.RideMarkingExportWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.ride.marking.RideMarkingWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface RideMarkingService {
    RestResult<List<TagListDataPresenter>> tagList();

    RestResult<Page<RideMarkingPagePresenter>> evaluationList(AdminUser adminUser, RideMarkingWrapper wrapper);

    RestResult export(RideMarkingExportWrapper wrapper, AdminUser adminUser, HttpServletResponse response) throws IOException;

    RestResult<RideMarkingDetailsPresenter> evaluationDetails(Long id);
}
